package com.txunda.zhuohired.bean.user.resume;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by admin on 2018/4/11.
 */

public class ExpectBean {

    /**
     * code : 1
     * message : 成功
     * data : [{"id":"1","name":"销售","position":[{"id":"6","name":"销售经理"},{"id":"21","name":"代表"}]},{"id":"2",
     * "name":"技术","position":[{"id":"8","name":"后端开发"},{"id":"9","name":"运维"}]},{"id":"3","name":"能源",
     * "position":[{"id":"4","name":"矿工"}]},{"id":"12","name":"传媒","position":[{"id":"13","name":"网络传媒"}]},
     * {"id":"18","name":"教育","position":[{"id":"19","name":"教师"}]},{"id":"22","name":"餐饮","position":[]}]
     * nums : 0
     */

    private String code;
    private String message;
    private String nums;
    private ArrayList<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getNums() {
        return nums;
    }

    public void setNums(String nums) {
        this.nums = nums;
    }

    public ArrayList<DataBean> getData() {
        return data;
    }

    public void setData(ArrayList<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * name : 销售
         * position : [{"id":"6","name":"销售经理"},{"id":"21","name":"代表"}]
         */

        private String id;
        private String name;
        private List<PositionBean> position;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<PositionBean> getPosition() {
            return position;
        }

        public void setPosition(List<PositionBean> position) {
            this.position = position;
        }

        public static class PositionBean {
            /**
             * id : 6
             * name : 销售经理
             */

            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            @Override
            public String toString() {
                return "PositionBean{" +
                        "id='" + id + '\'' +
                        ", name='" + name + '\'' +
                        '}';
            }
        }
    }

    @Override
    public String toString() {
        return "ExpectBean{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", nums='" + nums + '\'' +
                ", data=" + data +
                '}';
    }
}
